Autogenerated HTML docs for v1.6.4-173-g3f189
diff --git a/git-clone.html b/git-clone.html index e85e4d6..9df20cb 100644 --- a/git-clone.html +++ b/git-clone.html
@@ -399,6 +399,14 @@ which automatically call <tt>git gc --auto</tt>. (See <a href="git-gc.html">git-gc(1)</a>.) If these objects are removed and were referenced by the cloned repository, then the cloned repository will become corrupt.</p></div> +<div class="para"><p>Note that running <tt>git repack</tt> without the <tt>-l</tt> option in a repository +cloned with <tt>-s</tt> will copy objects from the source repository into a pack +in the cloned repository, removing the disk space savings of <tt>clone -s</tt>. +It is safe, however, to run <tt>git gc</tt>, which uses the <tt>-l</tt> option by +default.</p></div> +<div class="para"><p>If you want to break the dependency of a repository cloned with <tt>-s</tt> on +its source repository, you can simply run <tt>git repack -a</tt> to copy all +objects from the source repository into a pack in the cloned repository.</p></div> </dd> <dt> --reference <repository> @@ -735,7 +743,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 2009-07-01 02:30:45 UTC +Last updated 2009-08-19 00:08:58 UTC </div> </div> </body>